package com.agrm.model.rabc.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

@TableName("t_rbac_group_role")
@Getter
@Setter
@ToString
public class GroupRoleMapping {
    @TableId(type = IdType.AUTO)
    private Integer id;//主键
    private Integer groupId;//组编号
    private Integer roleId;//角色编号

    @ToString.Exclude
    @TableField(exist = false)
    private Role role;
}
